if tts == nil then
    tts = false
end

if tts == true then
    this.postSpeak(100, "vi vu")
    service.setTtsEngine("com.github.olga_yakovleva.rhvoice.android")
    tts = false
    return true
elseif tts == false then
    this.postSpeak(100, "MultiTTS")
    service.setTtsEngine("org.nobody.multitts")
    tts = "google"
    return true
else
    this.postSpeak(100, "Nhận dạng và tổng hợp giọng nói của Google")
    service.setTtsEngine("com.google.android.tts")
    tts = true
    return true
end